{% extends "base.html" %}
{# Copyright The IETF Trust 2019, All Rights Reserved #}
{% load origin django_bootstrap5 static person_filters %}
{% block title %}Withdraw review assignment for {{ assignment.review_request.doc.name }}{% endblock %}
{% block content %}
    {% origin %}
    <h1>
        Withdraw review assignment
        <br>
        <small class="text-body-secondary">{{ assignment.review_request.doc.name }}</small>
    </h1>
    <p class="my-3 alert alert-warning">
        Withdraw review assignment for {% person_link assignment.reviewer.person %}.
    </p>
    <form method="post">
        {% csrf_token %}
        <button type="submit" class="btn btn-primary" name="action" value="withdraw">Withdraw assignment</button>
        <a class="btn btn-secondary float-end"
           href="{% url "ietf.doc.views_review.review_request" name=assignment.review_request.doc.name request_id=assignment.review_request.pk %}">
            Back
        </a>
    </form>
{% endblock %}